#ifndef CLIENTSIDECLIENT_H
#define CLIENTSIDECLIENT_H

#include "client.h"

#include "Ogre.h"

#include "../tdreamsock/dreamSock.h"
#include "../command/clientSideCommand.h"

using namespace Ogre;

class DreamClient;
class Shape;

class ClientSideClient : public Client
{

public:
ClientSideClient();
~ClientSideClient();

	ClientSideCommand	frame[64];	// frame history
	ClientSideCommand	command;                           // current frame's commands
	ClientSideCommand   serverPlayer;

	ClientSideCommand*  mCurrentCommand;

	int index;
	
	Ogre::SceneNode *myNode;
	Ogre::SceneNode *myServerNode;

	std::vector<ClientSideCommand*> mCommandVector;
	int lastVectorElementRanOnClient;

	 //Ogre::Vector3 diffVector = Ogre::Vector3::ZERO;

};

#endif
